﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteAdmin.Master" AutoEventWireup="true" CodeBehind="TicketManage.aspx.cs" Inherits="eproject_BusTicketOnline.TicketManage" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateSelectButton="True" 
        onselectedindexchanged="GridView1_SelectedIndexChanged">
    </asp:GridView>
    <p>
        <asp:Button ID="btnAddTicket" runat="server" onclick="btnAddTicket_Click" 
            Text="Create a ticket" />
        <asp:Button ID="btnDelTicket" runat="server" Text="Delete ticket" 
            onclick="btnDelTicket_Click" />
    <asp:Panel ID="Panel1" runat="server">
        Input Ticket Id:
        <asp:TextBox ID="txtDelTicket" runat="server"></asp:TextBox>
        <asp:Button ID="btnDelete" runat="server" onclick="btnDelete_Click" 
            Text="Delete" />
        <asp:Label ID="lblDel" runat="server" ForeColor="Red"></asp:Label>
    </asp:Panel>
    </asp:Content>
